
<div class="modal-header" id = "head">
        <style type="text/css">
        .fc {
            width: 100%;
            min-height: 100px;
            background: #fff;
        }
        
        .fc-toolbar {
            width: 100%;
            height: 50px;
            background-color: #23b7e5;
            color: #fff;
            border-radius: 3px 3px 0 0;
            text-align: center;
        }
        
        .fc-toolbar h2 {
            font-size: 20px;
            line-height: 50px;
            margin: 0;
            text-transform: uppercase;
        }
        
        .fc-toolbar .fc-left {
            float: left;
        }
        
        .fc-toolbar .fc-right {
            float: right;
        }
        
        .fc-toolbar .fc-center {
            display: inline-block;
        }
        /* the things within each left/right/center section */
        
        .fc .fc-toolbar>*>* {
            /* extra precedence to override button border margins */
            float: left;
            margin-left: .75em;
        }
        /* the first thing within each left/center/right section */
        
        .fc .fc-toolbar>*> :first-child {
            /* extra precedence to override button border margins */
            margin-left: 0;
        }
        /* title text */
        
        .fc-toolbar h2 {
            margin: 0;
        }
        /* button layering (for border precedence) */
        
        .fc-toolbar button {
            position: relative;
        }
        
        .fc-toolbar .fc-state-hover,
        .fc-toolbar .ui-state-hover {
            z-index: 2;
        }
        
        .fc-toolbar .fc-state-down {
            z-index: 3;
        }
        
        .fc-toolbar .fc-state-active,
        .fc-toolbar .ui-state-active {
            z-index: 4;
        }
        
        .fc-toolbar button:focus {
            z-index: 5;
        }
        
        .fc-toolbar button {
            position: relative;
        }
        
        .fc button .fc-icon {
            position: relative;
            top: .05em;
            margin: 0 .1em;
        }
        
        .fc-icon {
            display: inline-block;
            font-size: 2em;
            line-height: .5em;
            height: .5em;
            font-family: "Courier New", Courier, monospace;
        }
        
        .fc-icon-right-single-arrow:after {
            content: "\0203A";
            font-weight: bold;
        }
        
        .fc-icon-left-single-arrow:after {
            content: "\02039";
            font-weight: bold;
        }
        
        .fc {
            direction: ltr;
            text-align: left;
        }
        
        .fc-toolbar .fc-button {
            color: #fff;
            background: transparent;
            border: none;
            box-shadow: none;
            text-shadow: none;
            margin: 0;
            height: 50px;
            line-height: 28px;
            padding: 10px;
        }
        
        .fc th,
        .fc td {
            border-style: solid;
            border-width: 1px;
            padding: 0;
            vertical-align: top;
            width: 14.29%;
            padding: 4px 4px;
            font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
            font-size: 14px;
            -webkit-font-smoothing: antialiased;
            line-height: 1.42857143;
            color: #58666e;
            border-color: #e3eaef;
            font-weight: normal;
        }
        
        .fc th {
            text-align: center;
        }
        
        .fc-view table {
            width: 100%;
            border-color: #e3eaef;
            font-weight: normal;
        }
        
        .rq td {
            height: 70px;
        }

        .zhaoGuXiaoPingMu {
            width: 100%;
        }
        
        .wrapper{
            width: 200px;
            margin: 30px auto;
        }
        input.error{
            border: 1px solid #a10;
        }
        .error{

            color: #a10;
        }
    </style>
        <h4 class="modal-title">下单信息</h4>
    </div>
    <div class="modal-body">
    
        <div class="container-fluid form-horizontal ">
       
         <div class="col-xs-12">
            <h5>团期信息</h5>
        </div>
        <div class="col-xs-12" style="border-bottom: 1px solid #eaeff0;padding-bottom: 10px">
            <div class="col-xs-12">
                <div class="col-xs-4">
                    <div style="margin-top: 20px;margin-bottom: 20px">
                        产品名称：{{a.product_name}}
                    </div>
                    <div style="margin-top: 20px;margin-bottom: 20px;" >
                        出游时间：<input type="text" ng-model="godate" readonly="true" id = "shop" >
                    </div>
                     <div style="margin-top: 20px;margin-bottom: 20px">
                        出发城市：{{a.city}}
                    </div>
                    
                     <div style="margin:0;padding:0">
                        <!--成    人    数：<button ng-click="peoplesub()" style="background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px"><i class="fa fa-minus"></i></button><input type="text" name="chargeid2" ng-model="item.chargeid2" ng-keyup="clearpeopleNoNum(item,'chargeid2')"  style="width: 60px;text-align:center;height:24px"><button ng-click="peopleadd()" style="background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px"><i class="fa fa-plus"></i></button>-->
                        <div class="pull-left">成    人    数：</div>
                        <div class="pull-left">
                        <div class="pull-left" ng-click="peoplesub()" style="left:-1px;text-align:center;background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px;width:24px;cursor: pointer"><i class="fa fa-minus"></i></div><input class="pull-left" type="text" name="chargeid2" ng-model="item.chargeid2" ng-keyup="clearpeopleNoNum(item,'chargeid2')"  style="width: 60px;text-align:center;height:24px;width:35px"><div class="pull-left" ng-click="peopleadd()" style="right:-1px;text-align:center;background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px;width:24px;cursor: pointer"><i class="fa fa-plus"></i></div>
                        </div>
                    </div>
                    <div style="margin:0;padding-top:40px" ng-if="cc!='儿童禁售'">
                        <!--成    人    数：<button ng-click="peoplesub()" style="background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px"><i class="fa fa-minus"></i></button><input type="text" name="chargeid2" ng-model="item.chargeid2" ng-keyup="clearpeopleNoNum(item,'chargeid2')"  style="width: 60px;text-align:center;height:24px"><button ng-click="peopleadd()" style="background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px"><i class="fa fa-plus"></i></button>-->
                        <div class="pull-left">儿    童    数：</div>
                        <div class="pull-left">
                        <div class="pull-left" ng-click="childsub()" style="left:-1px;text-align:center;background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px;width:24px;cursor: pointer"><i class="fa fa-minus"></i></div><input class="pull-left" type="text" name="chargeid1" ng-model="item.chargeid1" ng-keyup="clearpeopleNoNum(item,'chargeid1')"  style="width: 60px;text-align:center;height:24px;width:35px"><div class="pull-left" ng-click="childadd()" style="right:-1px;text-align:center;background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px;width:24px;cursor: pointer"><i class="fa fa-plus"></i></div>
                        </div>
                    </div>
                    <!--<div ng-if="cc!='儿童禁售'" style="margin-top: 20px;margin-bottom: 20px">
                        儿    童    数：<button ng-click="childsub()" style="background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px"><i class="fa fa-minus"></i></button><input type="text" name="chargeid1" ng-model="item.chargeid1" ng-keyup="clearchildNoNum(item,'chargeid1')" style="width: 60px;text-align:center;height:24px"><button ng-click="childadd()" style="background-color: #23b7e5;border-color: #23b7e5;    border: 1px solid transparent;height:24px"><i class="fa fa-plus"></i></button>
                    </div>-->
                </div>
                <div class="col-xs-8" id="temp" >  
                     <div class="fc" >
                        <!-- 年月，左右箭头 -->
                        <div class="fc-toolbar">
                            <div class="fc-left">
                                <button type="button" class="fc-prev-button fc-button fc-state-default fc-corner-left fc-corner-right" ng-click="pre()">
                            <span class="fc-icon fc-icon-left-single-arrow"></span>
                            {{obj.m == 0 ? 12 : obj.m}}月
                        </button>
                            </div>
                            <div class="fc-center">
                                <h2>{{obj.y}}年{{obj.m + 1}}月</h2>
                            </div>
                            <div class="fc-right">
                                <button type="button" class="fc-next-button fc-button fc-state-default fc-corner-left fc-corner-right" ng-click="back()">
                            {{obj.m + 2 == 13 ? 1 : obj.m + 2}}月
                            <span class="fc-icon fc-icon-right-single-arrow"></span>
                        </button>
                            </div>
                        </div>

                        <!-- 日期 -->
                        <div class="fc-view ">
                            <table>
                                <thead>
                                    <tr>
                                        <th ng-repeat="w in weekarr">{{w}}</th>
                                    </tr>
                                </thead>
                                <tbody class="rq" id="rili">
                                    <tr ng-repeat="d1 in obj.data">
                                        <td ng-repeat="d2 in d1" ng-click="clickday(d2,$index,$parent.$index)" ng-class="{true:'red'}[$index == 0]" id="xiaokuai{{$parent.$index}}{{$index}}" >
                                            <div class="text-right" ng-class="{true:'red'}[$index == 0 || $index == d1.length - 1]">
                                                {{d2.label}}
                                            </div>
                                            <div class="text-{{d3.position}}" ng-repeat="d3 in d2.labelarr" ng-bind-html="d3.show" style="font-size: 4px">
                                                <!--{{d3.show}}-->
                                            </div>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>

                    </div>
                    <div>
                    </div>
                </div>
            </div>
            
        </div>
        <div class="col-xs-12">
            <h5>产品信息</h5>
        </div>
        <div class="col-xs-12" style="border-bottom: 1px solid #eaeff0;">
            <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer" style="display: table; width: 100%;table-layout:fixed;">
               <thrad>
                <tr >
                    <th style="width: 16%;text-align:center;">产品名称</th>
                    <th style="width: 15%;text-align:center;">库存</th>
                    <th style="width: 16%;text-align:center;">销售价</th>
                    <th style="width: 20%;text-align:center;">实际销售价</th>                    
                    <th style="width: 13%;text-align:center;">数量</th>
                    <th style="width: 20%;text-align:center;">共计</th>
                    

                </tr>
                </thrad>
                <tbody>
                <tr ng-show="wjq">
                   <td style="vertical-align:middle;" title="{{a.product_name}}">
                       <div class="ellipsis" style="text-align:center;max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis;"
                                title="{{a.product_name}}">{{a.product_name}}</div></td>
                   <td style="vertical-align:middle;"><div>总库存：{{a.stock_totals}}</div><div>剩余库存：{{a.stock}}</div></td>
                   <td style="vertical-align:middle;"><div title="成人结算价：{{a.adult_call_price}}元，{{dd}}">成人价：{{a.adult_sale_price}}元</div><div>{{cc}}</div></td>
                   <td style="vertical-align:middle;"><div>成人价：<input type="text" ng-change="input()" style="width: 40%" ng-model="a.adult_sale_price1" ng-keyup="positive(a,'adult_sale_price1')">元</div><div ng-if="cc!='儿童禁售'">儿童价：<input ng-change="input()" type="text" style="width: 40%" ng-model="a.children_sale_price1"  ng-keyup="positive(a,'children_sale_price1')">元</div></td>
                   <td style="vertical-align:middle;"><div>成人：{{item.chargeid2}}人</div><div ng-if="cc!='儿童禁售'">儿童：{{item.chargeid1}}人</div></td>
                   <td style="vertical-align:middle;"><div>{{item.chargeid2}}成人*{{a.adult_sale_price1}}元={{a.peopleprice}}元</div><div ng-if="cc!='儿童禁售'">{{item.chargeid1}}儿童*{{a.children_sale_price1}}元={{a.childprice}}元</div><div>总计：{{a.allprice}}元</div></td>
                </tr>
                </tbody>
            </table>
        </div>

        
         <div class="col-xs-12" >
            <h5>联系人信息</h5>
        </div>
        <div class="col-xs-12" style="border-bottom: 1px solid #eaeff0;">
            <div class="col-xs-12" style="margin-bottom: 10px">
                <div class="col-xs-2" style="margin-top: 10px;text-align: right;" >
                    *姓名：
                </div>
                <div class="col-xs-10" style="margin-top: 10px">  
                    <input type="text" ng-model="linkman.name" style="height:34px;width:200px" >
                </div>
                 <div class="col-xs-2" style="margin-top: 10px;text-align: right;">
                    *手机号码：
                </div>

                <div class="col-xs-10" >
                    <div class="col-xs-5" style="margin-top: 10px;padding-left:0px"  align="left" >  
                        <input type="text" align="left" style="width: 132px;height:34px;width:200px" ng-model="linkman.tel" ng-required = "true" ng-blur="showphoneinfol(linkman.tel)" ng-focus="showphoneinfol2()">
                    </div>
                    <div class="col-xs-5" ng-show="true" align="left" style="padding-left: 0px;padding-top:15px;">
                        <span class="error">{{phoneinfo}}</span> 
                    </div>                    
                </div> 

                 <div class="col-xs-2" style="margin-top: 10px;text-align: right;">
                    电子邮箱：
                </div>
                <div class="col-xs-10" >
                    <div class="col-xs-5" style="margin-top: 10px;padding-left:0px"  align="left" >  
                        <input type="text" align="left" style="width: 132px;height:34px;width:200px" ng-model="linkman.email" ng-required = "true" ng-blur="showemailinfol(linkman.email)" ng-focus="showemailinfol2()">
                    </div>
                    <div class="col-xs-5" ng-show="true" align="left" style="padding-left: 0px;padding-top:15px;">
                        <span class="error">{{emailinfo}}</span> 
                    </div>                    
                </div>
                 <div class="col-xs-2" style="margin-top: 10px;text-align: right;">
                    *上车地点：
                </div>
                <div class="col-xs-10" style="margin-top: 10px">  
                    <select class="form-control" style="width: 150px;" ng-model="linkman.bording_location" ng-options="color.code as color.sys_type for color in linkman.bording_locations"></select>
                </div>

                <div class="col-xs-2" style="margin-top: 10px;text-align: right;">
                    备注：
                </div>
                <div class="col-xs-10">

                <div class="col-xs-10" style="margin-top: 10px;padding-left:0px"  align="left" >  
                    <textarea   align="left" style="width: 132px;height:50px;width:200px;max-width: 100%" ng-model="shuju.order_remark" ng-required = "true" ng-blur="showphoneinfol(linkman.tel)" ng-focus="showphoneinfol2()"></textarea>
                </div>
                </div>
                

                
            </div>
            
        </div>

        
         <div class="col-xs-12" >
            <h5>游客信息</h5>
        </div>
         <div class="col-xs-12" style=" text-align: right;">
                 <i onmouseover="this.style.color='blue'" onmouseout="this.style.color='gray'" style="padding-right: 20px ; cursor: pointer " ng-click="show()" >{{bb}}</i>
            </div>
        <div class="col-xs-12" ng-show="b=='1'">
           
            <div class="col-xs-12" >
            <div class="col-xs-12" style="background-color: #eaeff0;margin-bottom: 10px" ng-repeat="item in resultarr">

                 <div class="pull-left"  style="margin-top: 10px;width: 15%;text-align: center;font-size: 20px">
                    第{{$index+1}}位
                </div>
                <div class="pull-right" >
                    <i class="pull-right" style="margin-top: 10px; cursor: pointer " onmouseover="this.style.color='blue'" onmouseout="this.style.color='gray'" ng-click="clear1($index)">清空</i>
                </div>
                <div  style="width: 15%;text-align: center;">
                    成人
                </div>
                <div class="col-xs-4" style="margin-top: 10px;text-align: right;" >
                    中文姓名：
                </div>
                <div class="col-xs-8" style="margin-top: 10px">  
                    <input type="text" style="width: 200px;height:34px" ng-model="resultarr[$index].name">
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;">
                    证件类型：
                </div>
                <div class="col-xs-8" style="margin-top: 10px">  
                    <!--<input type="text" style="width: 200px">-->
                    <select class="form-control"
                    style="width: 150px;margin-right:5px;"
                    ng-model="resultarr[$index].card_type"
                    ng-change="atypechange($index)"
                    ng-options="info.value as info.name for info in showinfo.day">
                    </select>
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;" >
                    证件号码：
                </div>
                <div class="col-xs-8" style="margin-top: 10px">  
                    <div class="col-xs-6" ng-show="true" align="left" style="padding-left: 0px;padding-top:0px;">
                        <input type="text" style="width: 200px;height:34px" ng-model="resultarr[$index].cardno" ng-required = "true" ng-blur="showcardno(item.cardno,$index)" ng-focus="showcardno4($index)">
                    </div>
                    <div class="col-xs-6" ng-show="true" align="left" style="padding-left: 0px;padding-top:5px;">
                        <span class="error">{{item.cardinfo}}</span>
                    </div>
                </div>
                
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;" ng-show="resultarr[$index].card_type=='2' || resultarr[$index].card_type=='3' ">
                    证件有效期：
                </div>
                <div class="col-xs-8" style="margin-top: 10px" ng-show="resultarr[$index].card_type=='2' || resultarr[$index].card_type=='3'">  
                    <!--<input type="text" style="width: 200px">-->
                    <div class="col-xs-3" style="padding-left: 0px">
                         <select class="form-control"
                        
                        style="width: 100px;margin-right:5px;"
                        ng-model="item.certificate_yesr"
                                        ng-change="distributor_order.cy(item.certificate_yesr)"
                                        ng-options="cyear.code as cyear.value for cyear in showdata.cyears">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                                                 
                        style="width: 100px;margin-right:5px;"
                        ng-model="item.certificate_month"
                                        ng-change="distributor_order.cm(item.certificate_month)"
                                        ng-options="cmonth.code as cmonth.value for cmonth in showdata.cmonths">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                                                                         
                        style="width: 100px;margin-right:5px;"
                        ng-model="item.certificate_day"
                                        ng-options="cday.code as cday.value for cday in showdata.cdays">
                        </select>
                    </div>
                   
                </div>
                <div class="col-xs-4" style="margin-top: 10px;text-align: right;" ng-show="resultarr[$index].card_type=='2' || resultarr[$index].card_type=='3' || resultarr[$index].card_type=='5' ||resultarr[$index].card_type=='6'">
                    出生日期：
                </div>
                <div class="col-xs-8" style="margin-top: 10px" ng-show="resultarr[$index].card_type=='2' || resultarr[$index].card_type=='3' || resultarr[$index].card_type=='5' ||resultarr[$index].card_type=='6'">  
                    <!--<input type="text" style="width: 200px">-->
                    <div class="col-xs-3" style="padding-left: 0px">
                         <select class="form-control"
                                                                                                 
                        style="width: 100px;margin-right:5px;"
                        ng-model="item.birthday_year"
                                        ng-change="distributor_order.cy(item.birthday_year)"
                                        ng-options="byear.code as byear.value for byear in showdata.byears">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                                                                                                                           
                        style="width: 100px;margin-right:5px;"
                        ng-model="item.birthday_mouth"
                                        ng-change="distributor_order.cm(item.birthday_mouth)"
                                        ng-options="cmonth.code as cmonth.value for cmonth in showdata.cmonths">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                                                                                                                                                     
                        style="width: 100px;margin-right:5px;"
                        ng-model="item.birthday_day"
                                        ng-options="cday.code as cday.value for cday in showdata.cdays">
                        </select>
                    </div>
                   
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;" ng-show="resultarr[$index].card_type=='2' || resultarr[$index].card_type=='3' || resultarr[$index].card_type=='5' ||resultarr[$index].card_type=='6'" >
                    性别：
                </div>
                <div class="col-xs-8" style="margin-top: 10px" ng-show="resultarr[$index].card_type=='2' || resultarr[$index].card_type=='3' || resultarr[$index].card_type=='5' ||resultarr[$index].card_type=='6'">  
                    <!--<input type="text" style="width: 200px">-->
                    <select class="form-control"
                    ng-model="resultarr[$index].sex"                                                                                                                                                 
                    style="width: 100px;margin-right:5px;"
                    
                    ng-options="info.value as info.name for info in sex.day">
                    </select>
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;padding-bottom: 10px">
                    手机号码：
                </div>
                <div class="col-xs-8" >
                    <div class="col-xs-6" style="margin-top: 10px;padding-bottom: 10px;padding-left:0px"  align="left" >  
                        <input type="text" align="left" style="width: 200px;height:34px" ng-model="resultarr[$index].mobile" ng-required = "true" ng-blur="showphoneinfo(item.mobile,$index)" ng-focus="showphoneinfo4($index)">
                    </div>
                    <div class="col-xs-6" ng-show="true" align="left" style="padding-left: 0px;padding-top:15px;">
                        <span class="error">{{item.phoneinfo}}</span> 
                    </div>                    
                </div> 
                
            </div>
                
              <div class="col-xs-12" style="background-color: #eaeff0;margin-bottom: 10px" ng-repeat="item2 in resulchildtarr">

                 <div class="pull-left"  style="margin-top: 10px;width: 15%;text-align: center;font-size: 20px">
                    第{{resultarrlength+$index+1}}位
                </div>
                <div class="pull-right" >
                    <i class="pull-right" style="margin-top: 10px;cursor: pointer"  onmouseover="this.style.color='blue'" onmouseout="this.style.color='gray'" ng-click="clear2($index)">清空</i>
                </div>
                <div  style="width: 15%;text-align: center;">
                    儿童
                </div>
                <div class="col-xs-4" style="margin-top: 10px;text-align: right;" >
                    中文姓名：
                </div>
                <div class="col-xs-8" style="margin-top: 10px">  
                    <input type="text" style="width: 200px;height:34px" ng-model="resulchildtarr[$index].name">
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;">
                    证件类型：
                </div>
                <div class="col-xs-8" style="margin-top: 10px">  
                    <!--<input type="text" style="width: 200px">-->
                    <select class="form-control"
                    style="width: 150px;margin-right:5px;"
                    ng-model="resulchildtarr[$index].card_type"
                    ng-change="ctypechange($index)"
                    ng-options="info.value as info.name for info in showinfo.day">
                    </select>
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;padding-bottom: 10px" >
                    证件号码：
                </div>
                <div class="col-xs-8" style="margin-top: 10px;padding-bottom: 10px">  
                    <div class="col-xs-6" ng-show="true" align="left" style="padding-left: 0px;padding-top:0px;">
                        <input type="text" style="width: 200px;height:34px" ng-model="resulchildtarr[$index].cardno" ng-required = "true" ng-blur="showcardno2(item2.cardno,$index)" ng-focus="showcardno3($index)">
                    </div>
                    <div class="col-xs-6" ng-show="true" align="left" style="padding-left: 0px;padding-top:5px;">
                        <span class="error">{{item2.cardinfo}}</span>
                    </div>
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;" ng-show="resulchildtarr[$index].card_type=='2' || resulchildtarr[$index].card_type=='3' ">
                    证件有效期：
                </div>
                <div class="col-xs-8" style="margin-top: 10px" ng-show="resulchildtarr[$index].card_type=='2' || resulchildtarr[$index].card_type=='3'">  
                    <!--<input type="text" style="width: 200px">-->
                    <div class="col-xs-3" style="padding-left: 0px">
                         <select class="form-control"
                        style="width: 100px;margin-right:5px;"
                       ng-model="item2.certificate_yesr"
                                        ng-change="distributor_order.cy(item.certificate_yesr)"
                                        ng-options="cyear.code as cyear.value for cyear in showdata.cyears">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                        style="width: 100px;margin-right:5px;"
                        ng-model="item2.certificate_month"
                                        ng-change="distributor_order.cm(item.certificate_month)"
                                        ng-options="cmonth.code as cmonth.value for cmonth in showdata.cmonths">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                        style="width: 100px;margin-right:5px;"
                        ng-model="item2.certificate_day"
                                        ng-options="cday.code as cday.value for cday in showdata.cdays">
                        </select>
                    </div>
                   
                </div>
                <div class="col-xs-4" style="margin-top: 10px;text-align: right;" ng-show="resulchildtarr[$index].card_type=='2' || resulchildtarr[$index].card_type=='3' || resulchildtarr[$index].card_type=='5' ||resulchildtarr[$index].card_type=='6'">
                    出生日期：
                </div>
                <div class="col-xs-8" style="margin-top: 10px" ng-show="resulchildtarr[$index].card_type=='2' || resulchildtarr[$index].card_type=='3' || resulchildtarr[$index].card_type=='5' ||resulchildtarr[$index].card_type=='6'">  
                    <!--<input type="text" style="width: 200px">-->
                    <div class="col-xs-3" style="padding-left: 0px">
                         <select class="form-control"
                        style="width: 100px;margin-right:5px;"
                        ng-model="item2.birthday_year"
                                        ng-change="distributor_order.cy(item.birthday_year)"
                                        ng-options="byear.code as byear.value for byear in showdata.byears">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                        style="width: 100px;margin-right:5px;"
                        ng-model="item2.birthday_mouth"
                                        ng-change="distributor_order.cm(item.birthday_mouth)"
                                        ng-options="cmonth.code as cmonth.value for cmonth in showdata.cmonths">
                        </select>
                    </div>
                    <div class="col-xs-3">
                         <select class="form-control"
                        style="width: 100px;margin-right:5px;"
                        ng-model="item2.birthday_day"
                                        ng-options="cday.code as cday.value for cday in showdata.cdays">
                        </select>
                    </div>
                   
                </div>
                 <div class="col-xs-4" style="margin-top: 10px;text-align: right;" ng-show="resulchildtarr[$index].card_type=='2' || resulchildtarr[$index].card_type=='3' || resulchildtarr[$index].card_type=='5' ||resulchildtarr[$index].card_type=='6'">
                    性别：
                </div>
                <div class="col-xs-8" style="margin-top: 10px;text-align: right;padding-bottom: 10px" ng-show="resulchildtarr[$index].card_type=='2' || resulchildtarr[$index].card_type=='3' || resulchildtarr[$index].card_type=='5' ||resulchildtarr[$index].card_type=='6'">  
                    <!--<input type="text" style="width: 200px">-->
                    <select class="form-control"
                    style="width: 100px;margin-right:5px;"
                    ng-model="resulchildtarr[$index].sex"
                    
                    ng-options="info.value as info.name for info in sex.day">
                    </select>
                </div>
            </div>
            
        </div>

    </div>
    </div>
    

    <div class="modal-footer">
        <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="cancel()" style="margin-left: 10px">关闭</button>
        <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="toinfo()" >下单</button>

        <!--<button class="btn m-b-xs w-xs btn-danger btn-rounded pull-right" ng-click="reject()">驳回</button>-->
    </div>
 
